Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
ISearchFilter::GetItemArray Method
ISearchFilter Interface | ISearchFilter Interface | Example | Send Feedback

GetItemArray returns an array of 32-bit integers containing all of the document ids selected in a search filter.

[id(15), helpstring("method GetItemArray - Returns an array of integers containing the Doc Ids of selected documents in the index.")]
HRESULT GetItemArray([in] LONG iIndex, [out,retval] VARIANT* pArray);
Notes

VBScript cannot access an array of integers, so the returned value cannot be used with VBScript

Example
    Dim items As Variant
    items = searchFilter.GetItemArray(0)
    Dim i As Long
    Dim docid As Long
    For i = 0 To UBound(items)
        docid = items(i)
    ...
Interface
Links
You are here: COM Interface > Interfaces > ISearchFilter Interface > ISearchFilter::GetItemArray Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.